import request from '@/utils/request'

export function updateIndex(data) {
  return request({
    url: '/admin/webIndex/updateIndex',
    method: 'post',
    data
  })
}

export function findInfo(data) {
  return request({
    url: '/admin/webIndex/findInfo',
    method: 'post',
    data
  })
}

export function updateFooter(data) {
  return request({
    url: '/admin/webFooter/updateIndex',
    method: 'post',
    data
  })
}
export function getInfo(data) {
  return request({
    url: '/admin/webFooter/findInfo',
    method: 'post',
    data
  })
}
